/*  zwt */
package cn.mandy.sysadmin.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class MonitorHost implements Serializable {
    private Long id;

    private String name;

    private String ipAddr;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "CPU使用阀值一(忙)")
    private Short cpuThreshold1;

    @ApiModelProperty(value = "内存使用阀值一(忙)")
    private Short memThreshold1;

    @ApiModelProperty(value = "磁盘使用阀值一(忙)")
    private Short diskThreshold1;

    @ApiModelProperty(value = "CPU使用阀值二(高负荷)")
    private Short cpuThreshold2;

    @ApiModelProperty(value = "内存使用阀值二(高负荷)")
    private Short memThreshold2;

    @ApiModelProperty(value = "磁盘使用阀值二(高负荷)")
    private Short diskThreshold2;

    @ApiModelProperty(value = "普通作业最大并发量")
    private Integer maxConcurrent;

    @ApiModelProperty(value = "启用标志")
    private String izEnabled;

    @ApiModelProperty(value = "删除标志 0 正常记录 1 已经删除记录")
    private String izDeleted;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Short getCpuThreshold1() {
        return cpuThreshold1;
    }

    public void setCpuThreshold1(Short cpuThreshold1) {
        this.cpuThreshold1 = cpuThreshold1;
    }

    public Short getMemThreshold1() {
        return memThreshold1;
    }

    public void setMemThreshold1(Short memThreshold1) {
        this.memThreshold1 = memThreshold1;
    }

    public Short getDiskThreshold1() {
        return diskThreshold1;
    }

    public void setDiskThreshold1(Short diskThreshold1) {
        this.diskThreshold1 = diskThreshold1;
    }

    public Short getCpuThreshold2() {
        return cpuThreshold2;
    }

    public void setCpuThreshold2(Short cpuThreshold2) {
        this.cpuThreshold2 = cpuThreshold2;
    }

    public Short getMemThreshold2() {
        return memThreshold2;
    }

    public void setMemThreshold2(Short memThreshold2) {
        this.memThreshold2 = memThreshold2;
    }

    public Short getDiskThreshold2() {
        return diskThreshold2;
    }

    public void setDiskThreshold2(Short diskThreshold2) {
        this.diskThreshold2 = diskThreshold2;
    }

    public Integer getMaxConcurrent() {
        return maxConcurrent;
    }

    public void setMaxConcurrent(Integer maxConcurrent) {
        this.maxConcurrent = maxConcurrent;
    }

    public String getIzEnabled() {
        return izEnabled;
    }

    public void setIzEnabled(String izEnabled) {
        this.izEnabled = izEnabled;
    }

    public String getIzDeleted() {
        return izDeleted;
    }

    public void setIzDeleted(String izDeleted) {
        this.izDeleted = izDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", ipAddr=").append(ipAddr);
        sb.append(", remark=").append(remark);
        sb.append(", cpuThreshold1=").append(cpuThreshold1);
        sb.append(", memThreshold1=").append(memThreshold1);
        sb.append(", diskThreshold1=").append(diskThreshold1);
        sb.append(", cpuThreshold2=").append(cpuThreshold2);
        sb.append(", memThreshold2=").append(memThreshold2);
        sb.append(", diskThreshold2=").append(diskThreshold2);
        sb.append(", maxConcurrent=").append(maxConcurrent);
        sb.append(", izEnabled=").append(izEnabled);
        sb.append(", izDeleted=").append(izDeleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}